home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 129 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  2.0 KB

  1. Path: fido.asd.sgi.com!austern
  2. From: James Kanze US/ESC 60/3/141 #40763 <kanze@lts.sel.alcatel.de>
  3. Newsgroups: comp.std.c++
  4. Subject: Re: Why no allocator-specific delete?
  5. Date: 24 Jan 1996 11:35:25 PST
  6. Organization: -
  7. Approved: austern@isolde.mti.sgi.com
  8. Message-ID: <9601241013.AA12994@lts.sel.alcatel.de>
  9. References: <4dvid8$460@news.bridge.net> <4e0u1s$5fv@engnews1.Eng.Sun.COM> <4e1jfb$1ea@fsgm01.fnal.gov> <9601231054.7277@mulga.cs.mu.OZ.AU>
  10. NNTP-Posting-Host: isolde.mti.sgi.com
  11. X-Original-Date: Wed, 24 Jan 96 11:13:02 +0100
  12. In-Reply-To: fjh@munta.cs.mu.OZ.AU's message of 23 Jan 1996 10:20:04 PST
  13. X-Auth: PGPMoose V1.1 PGP comp.std.c++
  14.     iQBVAwUBMQaKE0y4NqrwXLNJAQGS+wIAkb2Qc9XGvfau01HGatqCya61xkDYo6vx
  15.     Y9RaYATEefxWSpTvIYkYuxZKpL5vZGP5NULXZUjgdIrH5IHiheqPnw==
  16.     =pT49
  17. Originator: austern@isolde.mti.sgi.com
  18.  
  19. In article <9601231054.7277@mulga.cs.mu.OZ.AU> fjh@munta.cs.mu.OZ.AU
  20. (Fergus Henderson) writes:
  21.  
  22.     [Concerning placement delete...]
  23. |> The ambiguity problems could have been resolved by using a 
  24. |> syntax such as `delete {placement parameters} pointer'.
  25.  
  26. Which, of course, would make it horribly unorthagonal with placement
  27. new.  Unless we also change placement new to use {...} (as was the
  28. case with early versions of g++).  Which, of course, would break so
  29. many existing programs as to be unthinkable.
  30.  
  31. Would it be worth it to change the syntax of placement new, making the
  32. old syntax a depricated feature (like strstream), so that we can use
  33. the same syntax for placement delete?  (I don't particularly think it
  34. worth the bother, but others might.)
  35.  
  36. --
  37. James Kanze         Tel.: (+33) 88 14 49 00        email: kanze@gabi-soft.fr
  38. GABI Software, Sarl., 8 rue des Francs-Bourgeois, F-67000 Strasbourg, France
  39. Conseils, itudes et rialisations en logiciel orienti objet --
  40.                 -- A la recherche d'une activiti dans une region francophone
  41. ---
  42. [ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  43.   Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  44.   is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
  45.